Skip to content

Conversation

@spazm
Copy link

@spazm spazm commented Jan 8, 2026

  • global values fc_model and loss_function were used inside the train() function rather than the passed parameters model and criterion.
  • duplicates fix in both the student and solution versions of the pytorch notebook.

+ global values `fc_model` and `loss_function` were used inside the train()
  function rather than the passed parameters `model` and `criterion`.
+ fix duplicated in both the student and solution versions of the pytorch
  notebook.
@spazm
Copy link
Author

spazm commented Jan 9, 2026

See also #195 which catches a third issue with the dataloader and #199 which combines all three fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant